import request from "@/utils/request.js";
const PREFIX = "/collection"

export default {
    getCollectList(dto){
        return request({
            url:`${PREFIX}/page`,
            method:'post',
            data:dto
        })
    },
    doCollect(dto){
        return request({
            url:`${PREFIX}/do`,
            method:'post',
            data:dto
        })
    }
}